package com.cskaoyan.model.bo.goods.update;

import com.cskaoyan.bean.MallGoods;
import com.cskaoyan.bean.MallGoodsAttribute;
import com.cskaoyan.bean.MallGoodsProduct;
import com.cskaoyan.bean.MallGoodsSpecification;
import lombok.Data;

import java.util.List;

/**
 * @program: project-market
 * @description:
 * @author: Jesson Guo
 * @create: 2021-12-02 14:38
 **/
@Data
public class GoodsUpdateRoot {
    private MallGoods goods;
    private List<MallGoodsSpecification> specifications;
    private List<MallGoodsProduct> products;
    private List<MallGoodsAttribute> attributes;

    public GoodsUpdateRoot(MallGoods goods, List<MallGoodsSpecification> specifications, List<MallGoodsProduct> products, List<MallGoodsAttribute> attributes) {
        this.goods = goods;
        this.specifications = specifications;
        this.products = products;
        this.attributes = attributes;
    }
}
